import { createApp } from "vue";
import App from "./App.vue";
import router from "@/router";
import { setupStore } from "@/store";
// 本地SVG图标
import "virtual:svg-icons-register";
// 国际化
import i18n from "@/lang/index";

// 样式
import "element-plus/theme-chalk/dark/css-vars.css";
import "uno.css";
import 'nprogress/nprogress.css'; //样式必须引入
import "@/styles/index.scss";

const app = createApp(App);
// 全局注册 状态管理(store)
setupStore(app);

app.use(router).use(i18n).mount("#app");
